home *** CD-ROM | disk | FTP | other *** search
- #!/bin/csh
-
- # Env variable for WorkShop directory
- setenv WSDIR /CDROM/demos/WorkShop
-
- # Check to see if WorkShop is already on the system
- set EXISTS = `$WSDIR/chkinstall WorkShop`
- if ($EXISTS == "no" ) then
- if (`$WSDIR/xconfirm -B "Okay" -t "WorkShop is not currently intalled on this system."` == "Okay") exit
- else
- if (`$WSDIR/xconfirm -B "cancel" -b "remove" -t "Okay to remove CASEVision/WorkShop from your system?"` == "cancel") exit
- endif
-
- # Remove product
- /usr/sbin/xwsh -bg royalblue -fg white \
- -geom 80x20+100+100 \
- -title "Removing WorkShop..." \
- -e /bin/csh -c \
- "echo ; \
- echo Removal of this product requires ROOT privileges.; \
- echo If your system has a ROOT password, you must enter it.; \
- echo If you have no ROOT password, you will not be prompted for it.; \
- echo ; \
- su root -c '$WSDIR/remove.root'"
-
-